<?php if(isset($errors) && !empty($errors)){?>
<div id="message_box">
<h5>Error(s) found in the system, kindly check them out!!!</h5>
<div id="errors_text"><ul><?php echo $errors;  ?></ul></div>
</div>
<?php } ?>
<?php if(isset($success) && !empty($success)){?>
<div id="message_box">
<h5>Yupee!! Success</h5>
<div id="success_text"><?php echo $success;  ?></div>
</div>
<?php } ?>